package com.example.demo.dao.user;

import com.example.demo.po.report.Report;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WorkerReportDao {
    Integer insertWorkerReport(@Param(value = "uid")Integer uid,@Param(value = "rid")Integer rid);

    Report selectReportByWorkerTask(@Param(value = "uid")Integer uid,@Param(value = "tid")Integer tid);

    List<Integer> selectReportIdByWorker(@Param(value="uid")Integer uid);
}
